package com.tentative.competition.common.model.schedule.param;

import com.tentative.competition.common.enums.OperateTypeEnum;
import com.tentative.competition.common.enums.WorksStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NonNull;
import org.springframework.data.annotation.Version;

import javax.validation.constraints.NotNull;

/**
 * @auther: Smile Huang
 * @date: 2023/6/24 16:37
 * @desc:
 * @version: 2.0
 */
@Data
public class ScheduleWorksParam {

    private Long id;

    @NotNull(message = "赛程ID不能为空")
    @ApiModelProperty("赛程ID")
    private Long scheduleId;

    @ApiModelProperty("")
    private Long userId;

    @ApiModelProperty("作品名称")
    @NotNull(message = "作品名称不能为空")
    private String worksName;

    @ApiModelProperty("是否作品组图（0，是1，否）")
    private Integer isGroupImg;

    private String content;

    @ApiModelProperty("作品简介")
    private String worksIntro;

    @ApiModelProperty("创意理念")
    private String worksOriginality;

    @ApiModelProperty("研究内容")
    private String studyContent;

    @ApiModelProperty("参赛作品高清图，逗号隔开")
    private String worksImg;

    @ApiModelProperty("作品主图")
    private Long worksImgMain;

    @ApiModelProperty("承诺书附件ID")
    private Long promise;

    @ApiModelProperty("作品视频附件ID（多个逗号隔开）")
    private String worksVideo;

    private Integer delFlag = 0;

    @ApiModelProperty("作品状态")
    private WorksStatusEnum worksStatus;

    @ApiModelProperty(value = "操作类型")
    private OperateTypeEnum operateType;

    @ApiModelProperty(value = "验证码")
    private String code;

    @ApiModelProperty(value = "是否为PC端，默认为后台，pc为true")
    private Boolean isPc = false;

}
